import request from '@/utils/request'

// 查询支付列表
export function listPay(query) {
  return request({
    url: '/system/pay/list',
    method: 'get',
    params: query
  })
}

// 删除支付
export function delPay(id) {
  return request({
    url: '/system/pay/' + id,
    method: 'delete'
  })
}

// 支付退款
export function refund(query) {
  return request({
    url: '/system/pay/refund',
    method: 'get',
    params: query
  })
}
